package com.javasm.mingming.common.exception;

import lombok.Getter;

/**
 * @author javasm
 * @version 0.1
 * @className JavasmException
 * @descriptioin:
 * @date 2024/12/30 14:42
 * @since jdk11
 */
@Getter
public class JavasmException extends RuntimeException{
    JavasmExceptionEnum exceptionEnum;

    public JavasmException(JavasmExceptionEnum exceptionEnum) {
        super(exceptionEnum.getMsg());
        this.exceptionEnum = exceptionEnum;
    }
}
